<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../print.css" type="text/css" media="print">
<meta content="VideoPlayer,com.cmiscm.videos.VideoPlayer,MODE_INIT,MODE_PAUSE,MODE_PLAY,MODE_STOP,getDebugInfo,bufferVideo,curmode,defaultProgress,duration,stream,syncVideo,video,addBufferLoad,addDefaultProgressBar,addInfo,addSoundControl,addSync,bufferLoad,changeVolume,clear,connect,destroy,destroyBufferLoad,mute,pause,play,seek,setUrl,setVolume,soundOff,soundOn,stop,syncUrl" name="keywords">
<title>com.cmiscm.videos.VideoPlayer</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'VideoPlayer - cmiscm';
				var baseRef = '../../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">API Documentation</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../all-classes.html')" href="../../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../all-classes.html')" href="../../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../index-list.html')" href="../../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../../index.html?com/cmiscm/videos/VideoPlayer.html&amp;com/cmiscm/videos/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">Class&nbsp;VideoPlayer</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a>&nbsp;| <a href="#eventSummary">Events</a>&nbsp;| <a href="#constantSummary">Constants</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Class VideoPlayer"); titleBar_setSubNav(true,true,false,false,true,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">com.cmiscm.videos</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Class</td><td class="classSignature">public class VideoPlayer</td>
</tr>
<tr>
<td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">VideoPlayer <img class="inheritArrow" alt="Inheritance" title="Inheritance" src="../../../images/inherit-arrow.gif"> <a href="stream/CMstream.html">CMstream</a> <img class="inheritArrow" alt="Inheritance" title="Inheritance" src="../../../images/inherit-arrow.gif"> flash.events.EventDispatcher</td>
</tr>
</table>
<p></p>
  Video Player.
   
  <p></p>
<br>
<span class="label">Example</span>
<br>     <div class='listing'><pre>
     package {
        import com.cmiscm.videos.VideoPlayer;
        import com.cmiscm.videos.events.VideoEvent;
        import com.cmiscm.videos.events.VideoProgressEvent;
        import flash.display.Sprite;
        import flash.events.Event;
        import flash.media.Video;
     
        public class TestVideo extends Sprite
        {
            private var _player:VideoPlayer;
            
            public function TestVideo()
            {
                super();
                this.addEventListener(Event.ADDED_TO_STAGE, onAdd);
            }
     
            private function onAdd(evt:Event):void
            {
                evt.currentTarget.removeEventListener(evt.type, arguments.callee);
                
                _player = new VideoPlayer();
     
                _player.addEventListener(VideoEvent.ADD_BUFFER, onAddBuffer);
                _player.addEventListener(VideoEvent.REMOVE_BUFFER, onRemoveBuffer);
                _player.addEventListener(VideoEvent.CHANGE_MODE, onChangeMode);
                _player.addEventListener(VideoEvent.ERROR_VIDEO, onErrorVideo);
                _player.addEventListener(VideoEvent.START_VIDEO, onStartVideo);
                _player.addEventListener(VideoEvent.FINISH_VIDEO, onFinishVideo);
                _player.addEventListener(VideoProgressEvent.CHANGE_PRECENT, onChangeProgress);
     
                // connect 
                _player.connect(new Video(500, 300));
                this.addChild(_player.video); 
     
                // setting movie URL
                _player.setUrl("intro.flv");
     
                // play
                _player.play();
            }
     
            private function onAddBuffer(evt:VideoEvent):void
            {
                trace("add buffer");
            }
     
            private function onRemoveBuffer(evt:VideoEvent):void
            {
                trace("remove buffer");
            }
     
            private function onChangeMode(evt:VideoEvent):void
            {
                trace("change mode : ", evt.mode, "0:play / 1:pause / 2:stop / 3:init");
            }
     
            private function onErrorVideo(evt:VideoEvent):void
            {
                trace("video error");
            }
     
            private function onStartVideo(evt:VideoEvent):void
            {
                trace("video start");
            }
     
            private function onFinishVideo(evt:VideoEvent):void
            {
                trace("video finish");
            }
     
            private function onChangeProgress(evt:VideoProgressEvent):void
            {
                trace(evt.buffer, evt.progress);
            }
        }
     }
     </pre></div> 
  
  <p></p>
<p>
<span class="classHeaderTableLabel">See also</span>
</p>
<div class="seeAlso">
<a href="stream/CMbufferload.html" target="">CMbufferload</a>
<br>
<a href="stream/CMinfo.html" target="">CMinfo</a>
<br>
<a href="stream/CMprogress.html" target="">CMprogress</a>
<br>
<a href="stream/CMsound.html" target="">CMsound</a>
<br>
<a href="stream/CMstream.html" target="">CMstream</a>
<br>
<a href="events/VideoBufferLoadEvent.html" target="">VideoBufferLoadEvent</a>
<br>
<a href="events/VideoEvent.html" target="">VideoEvent</a>
<br>
<a href="events/VideoProgressEvent.html" target="">VideoProgressEvent</a>
<br>
<a href="events/VideoSoundEvent.html" target="">VideoSoundEvent</a>
<br>
<a href="events/VideoTimeEvent.html" target="">VideoTimeEvent</a>
</div>
<br>
<hr>
</div>
<a name="propertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Properties</div>
<table id="summaryTableProperty" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#bufferVideo">bufferVideo</a> : Video<div class="summaryTableDescription">[read-only]
   Get Buffer Video 
   </div>
</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#curmode">curmode</a> : int<div class="summaryTableDescription">[read-only]
   Get Current Mode 
   </div>
</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#defaultProgress">defaultProgress</a> : <a href="stream/CMprogress.html">CMprogress</a>
<div class="summaryTableDescription">[read-only]
   Get Default Progress 
   </div>
</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#duration">duration</a> : Number<div class="summaryTableDescription">[read-only]
   Get Duration 
   </div>
</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#getDebugInfo">getDebugInfo</a> : Sprite<div class="summaryTableDescription">[read-only]
   Get Debug Info 
   </div>
</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#stream">stream</a> : NetStream<div class="summaryTableDescription">[read-only]
   Get Stream 
   </div>
</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#syncVideo">syncVideo</a> : Video<div class="summaryTableDescription">[read-only]
   Get Sync Video 
   </div>
</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#video">video</a> : Video<div class="summaryTableDescription">[read-only]
   Get Video 
   </div>
</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
</table>
</div>
<a name="protectedPropertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Protected Properties</div>
<div class="showHideLinks">
<div class="hideInheritedProtectedProperty" id="hideInheritedProtectedProperty">
<a onclick="javascript:setInheritedVisible(false,'ProtectedProperty');" href="#protectedPropertySummary" class="showHideLink"><img src="../../../images/expanded.gif" class="showHideLinkImage"> Hide Inherited Protected Properties</a>
</div>
<div class="showInheritedProtectedProperty" id="showInheritedProtectedProperty">
<a onclick="javascript:setInheritedVisible(true,'ProtectedProperty');" href="#protectedPropertySummary" class="showHideLink"><img src="../../../images/collapsed.gif" class="showHideLinkImage"> Show Inherited Protected Properties</a>
</div>
</div>
<table id="summaryTableProtectedProperty" class="summaryTable hideInheritedProtectedProperty" cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="hideInheritedProtectedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="stream/CMstream.html#_buffer">_buffer</a> : <a href="stream/CMbufferload.html">CMbufferload</a>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol"><a href="stream/CMstream.html">CMstream</a></td>
</tr>
<tr class="hideInheritedProtectedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="stream/CMstream.html#_curMode">_curMode</a> : int<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol"><a href="stream/CMstream.html">CMstream</a></td>
</tr>
<tr class="hideInheritedProtectedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="stream/CMstream.html#_duration">_duration</a> : Number = 0<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol"><a href="stream/CMstream.html">CMstream</a></td>
</tr>
<tr class="hideInheritedProtectedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="stream/CMstream.html#_info">_info</a> : <a href="stream/CMinfo.html">CMinfo</a>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol"><a href="stream/CMstream.html">CMstream</a></td>
</tr>
<tr class="hideInheritedProtectedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="stream/CMstream.html#_progress">_progress</a> : <a href="stream/CMprogress.html">CMprogress</a>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol"><a href="stream/CMstream.html">CMstream</a></td>
</tr>
<tr class="hideInheritedProtectedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="stream/CMstream.html#_sound">_sound</a> : <a href="stream/CMsound.html">CMsound</a>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol"><a href="stream/CMstream.html">CMstream</a></td>
</tr>
<tr class="hideInheritedProtectedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="stream/CMstream.html#_stream">_stream</a> : NetStream<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol"><a href="stream/CMstream.html">CMstream</a></td>
</tr>
<tr class="hideInheritedProtectedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="stream/CMstream.html#_syncDuration">_syncDuration</a> : Number = 0<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol"><a href="stream/CMstream.html">CMstream</a></td>
</tr>
<tr class="hideInheritedProtectedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="stream/CMstream.html#_syncStream">_syncStream</a> : NetStream<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol"><a href="stream/CMstream.html">CMstream</a></td>
</tr>
<tr class="hideInheritedProtectedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="stream/CMstream.html#_syncVideo">_syncVideo</a> : Video<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol"><a href="stream/CMstream.html">CMstream</a></td>
</tr>
<tr class="hideInheritedProtectedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="stream/CMstream.html#_video">_video</a> : Video<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol"><a href="stream/CMstream.html">CMstream</a></td>
</tr>
</table>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Methods</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#VideoPlayer()">VideoPlayer</a>()</div>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#addBufferLoad()">addBufferLoad</a>($video:Video):void</div>
<div class="summaryTableDescription">
   Add Buffer Load 
   </div>
</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#addDefaultProgressBar()">addDefaultProgressBar</a>($tW:int, $tH:int, $progress_color:uint, $buffer_color:uint, $bg_color:uint, $be_control:Boolean = false, $control_tY:int = 0, $control_tH:int = 0, $be_hand:Boolean = false, $buffer_limit:int = 0):void</div>
<div class="summaryTableDescription">
   Add Default Progress Bar
   </div>
</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#addInfo()">addInfo</a>():void</div>
<div class="summaryTableDescription">
   Add Info 
   
   </div>
</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#addSoundControl()">addSoundControl</a>($first_volume:Number, $cookie:Boolean):void</div>
<div class="summaryTableDescription">
   Add Sound Control 
   </div>
</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#addSync()">addSync</a>($video:Video):void</div>
<div class="summaryTableDescription">
   Add Sync
   </div>
</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#bufferLoad()">bufferLoad</a>($url:String, $cache:Boolean = false):void</div>
<div class="summaryTableDescription">
   Start Buffer Load
   </div>
</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#changeVolume()">changeVolume</a>($volume:Number):void</div>
<div class="summaryTableDescription">
   Change Volume 
   </div>
</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#clear()">clear</a>():void</div>
<div class="summaryTableDescription">
   Clear 
   
   </div>
</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#connect()">connect</a>($video:Video, $command:String = null):void</div>
<div class="summaryTableDescription">
   Connect 
   </div>
</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#destroy()">destroy</a>():void</div>
<div class="summaryTableDescription">
   Destroy 
   
   </div>
</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#destroyBufferLoad()">destroyBufferLoad</a>():void</div>
<div class="summaryTableDescription">
   Destroy Buffer Load 
   
   </div>
</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#mute()">mute</a>():void</div>
<div class="summaryTableDescription">
   Mute 
   
   </div>
</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#pause()">pause</a>():void</div>
<div class="summaryTableDescription">
   Pause 
   
   </div>
</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#play()">play</a>():void</div>
<div class="summaryTableDescription">
   Play 
   
   </div>
</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#seek()">seek</a>($no:Number):void</div>
<div class="summaryTableDescription">
   Seek 
   </div>
</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#setUrl()">setUrl</a>($url:String, $buffer_time:int = 5, $cache:Boolean = false):void</div>
<div class="summaryTableDescription">
   Setting Movie URL 
   </div>
</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#setVolume()">setVolume</a>($volume:Number):void</div>
<div class="summaryTableDescription">
   Set Volume 
   </div>
</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#soundOff()">soundOff</a>():void</div>
<div class="summaryTableDescription">
   Sound Off 
   
   </div>
</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#soundOn()">soundOn</a>():void</div>
<div class="summaryTableDescription">
   Sound On 
   
   </div>
</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#stop()">stop</a>():void</div>
<div class="summaryTableDescription">
   Stop 
   
   </div>
</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#syncUrl()">syncUrl</a>($url:String, $sync_url:String, $buffer_time:int = 5, $cache:Boolean = false, $sync_cache:Boolean = false):void</div>
<div class="summaryTableDescription">
   Setting Sync Movie URL 
   </div>
</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
</table>
</div>
<a name="eventSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Events</div>
<table id="summaryTableEvent" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Event</th><th>Summary</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:add_buffer">add_buffer</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">&nbsp;</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:buffer_precent">buffer_precent</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">&nbsp;</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:change_mode">change_mode</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">&nbsp;</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:change_precent">change_precent</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">&nbsp;</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:change_time">change_time</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">&nbsp;</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:change_volume">change_volume</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">&nbsp;</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:complete_duration">complete_duration</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">&nbsp;</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:error_video">error_video</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">&nbsp;</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:finish_buffer_load">finish_buffer_load</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">&nbsp;</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:finish_video">finish_video</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">&nbsp;</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:remove_buffer">remove_buffer</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">&nbsp;</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:start_video">start_video</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">&nbsp;</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
</table>
</div>
<a name="constantSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Constants</div>
<table id="summaryTableConstant" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Constant</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#MODE_INIT">MODE_INIT</a> : int = 3<div class="summaryTableDescription">[static]
   Mode Init 
   </div>
</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#MODE_PAUSE">MODE_PAUSE</a> : int = 1<div class="summaryTableDescription">[static]
   Mode Pause 
   </div>
</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#MODE_PLAY">MODE_PLAY</a> : int = 0<div class="summaryTableDescription">[static]
   Mode Play 
   </div>
</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#MODE_STOP">MODE_STOP</a> : int = 2<div class="summaryTableDescription">[static]
   Mode Stop 
   </div>
</td><td class="summaryTableOwnerCol">VideoPlayer</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="propertyDetail"></a>
<div class="detailSectionHeader">Property detail</div>
<a name="bufferVideo"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">bufferVideo</td><td class="detailHeaderType">property</td>
</tr>
</table>
<div class="detailBody">
<code>bufferVideo:Video</code>&nbsp;&nbsp;[read-only]<p>
   Get Buffer Video 
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get bufferVideo():Video</code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="stream/CMstream.html" target="">CMstream</a>
<br>
<a href="stream/CMbufferload.html" target="">CMbufferload</a>
</div>
</div>
<a name="curmode"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">curmode</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>curmode:int</code>&nbsp;&nbsp;[read-only]<p>
   Get Current Mode 
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get curmode():int</code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="stream/CMstream.html" target="">CMstream</a>
</div>
</div>
<a name="defaultProgress"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">defaultProgress</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>defaultProgress:<a href="stream/CMprogress.html">CMprogress</a></code>&nbsp;&nbsp;[read-only]<p>
   Get Default Progress 
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get defaultProgress():<a href="stream/CMprogress.html">CMprogress</a></code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="stream/CMstream.html" target="">CMstream</a>
<br>
<a href="stream/CMprogress.html" target="">CMprogress</a>
</div>
</div>
<a name="duration"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">duration</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>duration:Number</code>&nbsp;&nbsp;[read-only]<p>
   Get Duration 
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get duration():Number</code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="stream/CMstream.html" target="">CMstream</a>
</div>
</div>
<a name="getDebugInfo"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getDebugInfo</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>getDebugInfo:Sprite</code>&nbsp;&nbsp;[read-only]<p>
   Get Debug Info 
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get getDebugInfo():Sprite</code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="stream/CMstream.html" target="">CMstream</a>
<br>
<a href="stream/CMinfo.html" target="">CMinfo</a>
</div>
</div>
<a name="stream"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">stream</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>stream:NetStream</code>&nbsp;&nbsp;[read-only]<p>
   Get Stream 
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get stream():NetStream</code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="stream/CMstream.html" target="">CMstream</a>
</div>
</div>
<a name="syncVideo"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">syncVideo</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>syncVideo:Video</code>&nbsp;&nbsp;[read-only]<p>
   Get Sync Video 
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get syncVideo():Video</code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="stream/CMstream.html" target="">CMstream</a>
</div>
</div>
<a name="video"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">video</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>video:Video</code>&nbsp;&nbsp;[read-only]<p>
   Get Video 
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get video():Video</code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="stream/CMstream.html" target="">CMstream</a>
</div>
</div>
<a name="constructorDetail"></a>
<div class="detailSectionHeader">Constructor detail</div>
<a name="VideoPlayer()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">VideoPlayer</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">constructor</td>
</tr>
</table>
<div class="detailBody">
<code>public function VideoPlayer()</code>
</div>
<a name="methodDetail"></a>
<div class="detailSectionHeader">Method detail</div>
<a name="addBufferLoad()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">addBufferLoad</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td>
</tr>
</table>
<div class="detailBody">
<code>public override function addBufferLoad($video:Video):void</code><p>
   Add Buffer Load 
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">$video</span>:Video</code> &mdash; Video
   
   </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="stream/CMstream.html" target="">CMstream</a>
<br>
<a href="stream/CMbufferload.html" target="">CMbufferload</a>
<br>
<a href="events/VideoBufferLoadEvent.html" target="">VideoBufferLoadEvent</a>
</div>
<br>
<span class="label">Example</span>
<br>      <div class='listing'><pre>
      package {
         import com.cmiscm.videos.VideoPlayer;
         import com.cmiscm.videos.events.VideoBufferLoadEvent;
         import flash.display.Sprite;
         import flash.events.Event;
         import flash.media.Video;
      
         public class TestVideo extends Sprite
         {
             private var _player:VideoPlayer;
             
             public function TestVideo()
             {
                 super();
                 this.addEventListener(Event.ADDED_TO_STAGE, onAdd);
             }
      
             private function onAdd(evt:Event):void
             {
                 evt.currentTarget.removeEventListener(evt.type, arguments.callee);
                 
                 _player = new VideoPlayer();
      
                 _player.addEventListener(VideoBufferLoadEvent.BUFFER_PRECENT, onBufferPercent); 
                 _player.addEventListener(VideoBufferLoadEvent.FINISH_BUFFER_LOAD, onFinishBufferLoad);
                 _player.addEventListener(VideoBufferLoadEvent.COMPLETE_DURATION, onCompleteDuration); 
      
                 // add buffer load 
                 _player.addBufferLoad(new Video(100, 100));
                 this.addChild(_player.bufferVideo);
      
                 // load
                 _player.bufferLoad("movie.flv");
             }
      
             private function onBufferPercent(evt:VideoBufferLoadEvent):void
             {
                 trace(evt.percent);
             }
      
             private function onFinishBufferLoad(evt:VideoBufferLoadEvent):void
             {
                 trace("finish buffer load");
      
                 _player.destroyBufferLoad();
                 _player.removeEventListener(VideoBufferLoadEvent.BUFFER_PRECENT, onBufferPercent);
                 _player.removeEventListener(VideoBufferLoadEvent.FINISH_BUFFER_LOAD, onFinishBufferLoad);
                 _player.removeEventListener(VideoBufferLoadEvent.COMPLETE_DURATION, onCompleteDuration);
                 this.removeChild(_player.bufferVideo);
             }
      
             private function onCompleteDuration(evt:VideoBufferLoadEvent):void
             {
                 trace(evt.duration);
             }
         }
      }
      </pre></div> 
      
      <p></p>
</div>
<a name="addDefaultProgressBar()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">addDefaultProgressBar</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public override function addDefaultProgressBar($tW:int, $tH:int, $progress_color:uint, $buffer_color:uint, $bg_color:uint, $be_control:Boolean = false, $control_tY:int = 0, $control_tH:int = 0, $be_hand:Boolean = false, $buffer_limit:int = 0):void</code><p>
   Add Default Progress Bar
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">$tW</span>:int</code> &mdash; Progress Bar Width
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">$tH</span>:int</code> &mdash; Progress Bar height
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">$progress_color</span>:uint</code> &mdash; Progress Bar Color
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">$buffer_color</span>:uint</code> &mdash; Progress Buffer Color
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">$bg_color</span>:uint</code> &mdash; Progress BG Color
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">$be_control</span>:Boolean</code> (default = <code>false</code>)<code></code> &mdash; Progress Control
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">$control_tY</span>:int</code> (default = <code>0</code>)<code></code> &mdash; Progress Control Button Y Position
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">$control_tH</span>:int</code> (default = <code>0</code>)<code></code> &mdash; Progress Control Button Height
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">$be_hand</span>:Boolean</code> (default = <code>false</code>)<code></code> &mdash; Progress Control Button Hand
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">$buffer_limit</span>:int</code> (default = <code>0</code>)<code></code> &mdash; Progress Control Limit Gap
   
   </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="stream/CMstream.html" target="">CMstream</a>
<br>
<a href="stream/CMprogress.html" target="">CMprogress</a>
</div>
<br>
<span class="label">Example</span>
<br>      <div class='listing'><pre>
      package {
         import com.cmiscm.videos.VideoPlayer;
         import flash.display.Sprite;
         import flash.events.Event;
         import flash.media.Video;
      
         public class TestVideo extends Sprite
         {
             private var _player:VideoPlayer;
             
             public function TestVideo()
             {
                 super();
                 this.addEventListener(Event.ADDED_TO_STAGE, onAdd);
             }
      
             private function onAdd(evt:Event):void
             {
                 evt.currentTarget.removeEventListener(evt.type, arguments.callee);
                 
                 _player = new VideoPlayer();
      
                 // connect  
                 _player.connect(new Video(500, 300));
                 this.addChild(_player.video);  
      
                 // setting movie URL
                 _player.setUrl("intro.flv");
      
                 // make progress bar
                 _player.addDefaultProgressBar(500, 2, 0xff0000, 0x00ff00, 0xbbbbbb, true, -5, 10, true, 20);
                 _player.defaultProgress.stage = this.stage;
                 this.addChild(_player.defaultProgress);
             }
         }
      }
      </pre></div> 
   
   <p></p>
</div>
<a name="addInfo()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">addInfo</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public override function addInfo():void</code><p>
   Add Info 
   
   </p><p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="stream/CMstream.html" target="">CMstream</a>
<br>
<a href="stream/CMinfo.html" target="">CMinfo</a>
<br>
<a href="events/VideoTimeEvent.html" target="">VideoTimeEvent</a>
</div>
<br>
<span class="label">Example</span>
<br>      <div class='listing'><pre>
      package {
         import com.cmiscm.videos.VideoPlayer;
         import com.cmiscm.videos.events.VideoTimeEvent;
         import flash.display.Sprite;
         import flash.events.Event;
         import flash.media.Video;
      
         public class TestVideo extends Sprite
         {
             private var _player:VideoPlayer;
             
             public function TestVideo()
             {
                 super();
                 this.addEventListener(Event.ADDED_TO_STAGE, onAdd);
             }
      
             private function onAdd(evt:Event):void
             {
                 evt.currentTarget.removeEventListener(evt.type, arguments.callee);
                 
                 _player = new VideoPlayer();
      
                 // connect  
                 _player.connect(new Video(500, 300));
                 this.addChild(_player.video); 
      
                 // setting movie URL
                 _player.setUrl("intro.flv");
      
                 // add info
                 _player.addInfo();
                 _player.addEventListener(VideoTimeEvent.CHANGE_TIME, onChangeTime);
      
                 // debug info 
                 this.addChild(_player.getDebugInfo);
             }
      
             private function onChangeTime(evt:VideoTimeEvent):void
             {
                 trace(evt.realTime, evt.totalMin, evt.totalSec, evt.curMin, evt.curSec);
             }
         }
      }
      </pre></div> 
   
   <p></p>
</div>
<a name="addSoundControl()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">addSoundControl</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public override function addSoundControl($first_volume:Number, $cookie:Boolean):void</code><p>
   Add Sound Control 
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">$first_volume</span>:Number</code> &mdash; First Volume
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">$cookie</span>:Boolean</code> &mdash; Cookie
   
   </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="stream/CMstream.html" target="">CMstream</a>
<br>
<a href="stream/CMsound.html" target="">CMsound</a>
<br>
<a href="events/VideoSoundEvent.html" target="">VideoSoundEvent</a>
</div>
<br>
<span class="label">Example</span>
<br>      <div class='listing'><pre>
      package {
         import com.cmiscm.videos.VideoPlayer;
         import com.cmiscm.videos.events.VideoSoundEvent;
         import flash.display.Sprite;
         import flash.events.Event;
         import flash.events.MouseEvent;
         import flash.media.Video;
         import com.cmiscm.utils.common.NumberUtilities;
         import com.cmiscm.utils.display.MakeButton;
      
         public class TestVideo extends Sprite
         {
             private var _player:VideoPlayer;
             private var _soundControl:Sprite = new Sprite();
             private var _soundBar:Sprite = new Sprite();
             private var _soundButton:MakeButton;
             
             public function TestVideo()
             {
                 super();
                 this.addEventListener(Event.ADDED_TO_STAGE, onAdd);
             }
      
             private function onAdd(evt:Event):void
             {
                 evt.currentTarget.removeEventListener(evt.type, arguments.callee);
                 
                 _player = new VideoPlayer();
      
                 // connect  
                 _player.connect(new Video(500, 300));
                 this.addChild(_player.video); 
      
                 // add sound
                 _player.addEventListener(VideoSoundEvent.CHANGE_VOLUME, onChangeVolume);
                 _player.addSoundControl(0.7, false);
      
                 // setting movie URL
                 _player.setUrl("intro.flv");
                 _player.play();
      
                 // make button
                 _soundBar.graphics.beginFill(0xff0000);
                 _soundBar.graphics.drawRect(0, 0, 100, 1);
                 _soundBar.graphics.endFill(); 
                 _soundControl.addChild(_soundBar);
      
                 _soundButton = new MakeButton(100, 20);
                 _soundButton.y = -10;
                 _soundButton.addEventListener(MouseEvent.MOUSE_DOWN, onDown);
                 _soundControl.addChild(_soundButton);
                 _soundControl.x = _soundControl.y = 100;
                 this.addChild(_soundControl);
             }
      
             private function onChangeVolume(evt:VideoSoundEvent):void
             {
                 trace("volume", evt.volume);
                 _soundBar.scaleX = evt.volume;
             }
      
             private function onDown(evt:MouseEvent):void
             {
                 _soundButton.addEventListener(Event.ENTER_FRAME, onEnter);
                 _soundButton.addEventListener(MouseEvent.MOUSE_UP, onUp);
             }
      
             private function onUp(evt:MouseEvent):void
             {
                 _soundButton.removeEventListener(Event.ENTER_FRAME, onEnter);
                 _soundButton.removeEventListener(MouseEvent.MOUSE_UP, onUp);
             }
      
             private function onEnter(evt:Event):void
             {
                 var volume:Number = NumberUtilities.getCurrent(_soundButton.mouseX, 0, _soundButton.width, 0, 1);
                 if (volume < 0) volume = 0;
                 else if (volume > 1) volume = 1;
      
                 // direct change volume
                 _player.changeVolume(volume);
      
                 // easing change volume
                 TweenLite.to(_player.stream, 1, {volume:volume});
                 _player.setVolume(volume);
             }
         }
      }
      </pre></div> 
   
   <p></p>
</div>
<a name="addSync()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">addSync</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public override function addSync($video:Video):void</code><p>
   Add Sync
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">$video</span>:Video</code> &mdash; Sync Video
   
   </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="stream/CMstream.html" target="">CMstream</a>
</div>
<br>
<span class="label">Example</span>
<br>      <div class='listing'><pre>
      package {
         import com.cmiscm.videos.VideoPlayer;
         import flash.display.Sprite;
         import flash.events.Event;
         import flash.media.Video;
      
         public class TestVideo extends Sprite
         {
             private var _player:VideoPlayer;
             
             public function TestVideo()
             {
                 super();
                 this.addEventListener(Event.ADDED_TO_STAGE, onAdd);
             }
      
             private function onAdd(evt:Event):void
             {
                 evt.currentTarget.removeEventListener(evt.type, arguments.callee);
                 
                 _player = new VideoPlayer();
      
                 // connect 
                 _player.connect(new Video(500, 300));
                 this.addChild(_player.video); 
      
                 // sync
                 _player.addSync(new Video(500, 300));
                 this.addChild(_player.syncVideo);
                 _player.syncUrl("movie_0.flv", "movie_1.flv", 5, false, false);
      
                 // play
                 _player.play();
             }
         }
      }
      </pre></div> 
   
   <p></p>
</div>
<a name="bufferLoad()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">bufferLoad</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public override function bufferLoad($url:String, $cache:Boolean = false):void</code><p>
   Start Buffer Load
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">$url</span>:String</code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">$cache</span>:Boolean</code> (default = <code>false</code>)<code></code></td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="stream/CMstream.html" target="">CMstream</a>
<br>
<a href="stream/CMbufferload.html" target="">CMbufferload</a>
</div>
</div>
<a name="changeVolume()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">changeVolume</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public override function changeVolume($volume:Number):void</code><p>
   Change Volume 
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">$volume</span>:Number</code> &mdash; Volume
   
   </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="stream/CMstream.html" target="">CMstream</a>
<br>
<a href="stream/CMsound.html" target="">CMsound</a>
</div>
</div>
<a name="clear()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">clear</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public override function clear():void</code><p>
   Clear 
   
   </p><p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="stream/CMstream.html" target="">CMstream</a>
</div>
</div>
<a name="connect()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">connect</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public override function connect($video:Video, $command:String = null):void</code><p>
   Connect 
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">$video</span>:Video</code> &mdash; Video
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">$command</span>:String</code> (default = <code>null</code>)<code></code> &mdash; Command
   
   </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="stream/CMstream.html" target="">CMstream</a>
</div>
</div>
<a name="destroy()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">destroy</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public override function destroy():void</code><p>
   Destroy 
   
   </p><p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="stream/CMstream.html" target="">CMstream</a>
</div>
</div>
<a name="destroyBufferLoad()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">destroyBufferLoad</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public override function destroyBufferLoad():void</code><p>
   Destroy Buffer Load 
   
   </p><p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="stream/CMstream.html" target="">CMstream</a>
<br>
<a href="stream/CMbufferload.html" target="">CMbufferload</a>
</div>
</div>
<a name="mute()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">mute</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public override function mute():void</code><p>
   Mute 
   
   </p><p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="stream/CMstream.html" target="">CMstream</a>
<br>
<a href="stream/CMsound.html" target="">CMsound</a>
</div>
</div>
<a name="pause()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">pause</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public override function pause():void</code><p>
   Pause 
   
   </p><p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="stream/CMstream.html" target="">CMstream</a>
</div>
</div>
<a name="play()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">play</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public override function play():void</code><p>
   Play 
   
   </p><p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="stream/CMstream.html" target="">CMstream</a>
</div>
</div>
<a name="seek()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">seek</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public override function seek($no:Number):void</code><p>
   Seek 
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">$no</span>:Number</code> &mdash; Seek Time
   
   </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="stream/CMstream.html" target="">CMstream</a>
</div>
</div>
<a name="setUrl()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">setUrl</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public override function setUrl($url:String, $buffer_time:int = 5, $cache:Boolean = false):void</code><p>
   Setting Movie URL 
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">$url</span>:String</code> &mdash; URL
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">$buffer_time</span>:int</code> (default = <code>5</code>)<code></code> &mdash; Buffer Time
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">$cache</span>:Boolean</code> (default = <code>false</code>)<code></code> &mdash; Cache
   
   </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="stream/CMstream.html" target="">CMstream</a>
</div>
</div>
<a name="setVolume()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">setVolume</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public override function setVolume($volume:Number):void</code><p>
   Set Volume 
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">$volume</span>:Number</code> &mdash; Volume
   
   </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="stream/CMstream.html" target="">CMstream</a>
<br>
<a href="stream/CMsound.html" target="">CMsound</a>
</div>
</div>
<a name="soundOff()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">soundOff</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public override function soundOff():void</code><p>
   Sound Off 
   
   </p><p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="stream/CMstream.html" target="">CMstream</a>
<br>
<a href="stream/CMsound.html" target="">CMsound</a>
</div>
</div>
<a name="soundOn()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">soundOn</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public override function soundOn():void</code><p>
   Sound On 
   
   </p><p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="stream/CMstream.html" target="">CMstream</a>
<br>
<a href="stream/CMsound.html" target="">CMsound</a>
</div>
</div>
<a name="stop()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">stop</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public override function stop():void</code><p>
   Stop 
   
   </p><p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="stream/CMstream.html" target="">CMstream</a>
</div>
</div>
<a name="syncUrl()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">syncUrl</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public override function syncUrl($url:String, $sync_url:String, $buffer_time:int = 5, $cache:Boolean = false, $sync_cache:Boolean = false):void</code><p>
   Setting Sync Movie URL 
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">$url</span>:String</code> &mdash; URL
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">$sync_url</span>:String</code> &mdash; Sync URL
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">$buffer_time</span>:int</code> (default = <code>5</code>)<code></code> &mdash; Buffer Time
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">$cache</span>:Boolean</code> (default = <code>false</code>)<code></code> &mdash; Cache
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">$sync_cache</span>:Boolean</code> (default = <code>false</code>)<code></code> &mdash; Sync Cache
   
   </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="stream/CMstream.html" target="">CMstream</a>
</div>
</div>
<div class="detailSectionHeader">Event detail</div>
<a name="event:add_buffer"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">add_buffer</td><td class="detailHeaderType">event&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="events/VideoEvent.html"><code>com.cmiscm.videos.events.VideoEvent</code></a>
<br>
<p></p>
</div>
<a name="event:buffer_precent"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">buffer_precent</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="events/VideoBufferLoadEvent.html"><code>com.cmiscm.videos.events.VideoBufferLoadEvent</code></a>
<br>
<p></p>
</div>
<a name="event:change_mode"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">change_mode</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="events/VideoEvent.html"><code>com.cmiscm.videos.events.VideoEvent</code></a>
<br>
<p></p>
</div>
<a name="event:change_precent"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">change_precent</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="events/VideoProgressEvent.html"><code>com.cmiscm.videos.events.VideoProgressEvent</code></a>
<br>
<p></p>
</div>
<a name="event:change_time"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">change_time</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="events/VideoTimeEvent.html"><code>com.cmiscm.videos.events.VideoTimeEvent</code></a>
<br>
<p></p>
</div>
<a name="event:change_volume"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">change_volume</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="events/VideoSoundEvent.html"><code>com.cmiscm.videos.events.VideoSoundEvent</code></a>
<br>
<p></p>
</div>
<a name="event:complete_duration"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">complete_duration</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="events/VideoBufferLoadEvent.html"><code>com.cmiscm.videos.events.VideoBufferLoadEvent</code></a>
<br>
<p></p>
</div>
<a name="event:error_video"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">error_video</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="events/VideoEvent.html"><code>com.cmiscm.videos.events.VideoEvent</code></a>
<br>
<p></p>
</div>
<a name="event:finish_buffer_load"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">finish_buffer_load</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="events/VideoBufferLoadEvent.html"><code>com.cmiscm.videos.events.VideoBufferLoadEvent</code></a>
<br>
<p></p>
</div>
<a name="event:finish_video"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">finish_video</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="events/VideoEvent.html"><code>com.cmiscm.videos.events.VideoEvent</code></a>
<br>
<p></p>
</div>
<a name="event:remove_buffer"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">remove_buffer</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="events/VideoEvent.html"><code>com.cmiscm.videos.events.VideoEvent</code></a>
<br>
<p></p>
</div>
<a name="event:start_video"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">start_video</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="events/VideoEvent.html"><code>com.cmiscm.videos.events.VideoEvent</code></a>
<br>
<p></p>
</div>
<a name="constantDetail"></a>
<div class="detailSectionHeader">Constant detail</div>
<a name="MODE_INIT"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">MODE_INIT</td><td class="detailHeaderType">constant</td>
</tr>
</table>
<div class="detailBody">
<code>public static const MODE_INIT:int = 3</code><p>
   Mode Init 
   </p></div>
<a name="MODE_PAUSE"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">MODE_PAUSE</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const MODE_PAUSE:int = 1</code><p>
   Mode Pause 
   </p></div>
<a name="MODE_PLAY"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">MODE_PLAY</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const MODE_PLAY:int = 0</code><p>
   Mode Play 
   </p></div>
<a name="MODE_STOP"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">MODE_STOP</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const MODE_STOP:int = 2</code><p>
   Mode Stop 
   </p></div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright"> 
</center>
</div>
</body>
</html>
<!-- -->
